package com.wzh.project.java.string;
/**
*@author : 汪振海
*@createdDate : Dec 23, 2019  11:06:08 AM
*@description : <br>
*
*/
public class TestString {
	public static void main(String[] args) {
		String serviceName="12312 re  dddd";
		System.out.println("====="+serviceName+"====");
		System.out.println(serviceName.length());
		System.out.println(serviceName.trim());
		if (serviceName.trim().equals(serviceName)) {
			System.out.println(true);
		}else {
			System.out.println("false");
		}
	}

}
